Tegra: memctrl_v2: no SID override for SCE block
authorVarun Wadekar <[email protected]>
Wed, 17 Feb 2016 18:01:28 +0000 (10:01 -0800)
committerVarun Wadekar <[email protected]>
Mon, 20 Mar 2017 16:14:28 +0000 (09:14 -0700)
This patch fixes the incorrect override settings for the SCE
hardware block.

Original change by Pekka Pessi <[email protected]>

Change-Id: I33db55d6004331988b52ca70157aab1409f4829f
Signed-off-by: Varun Wadekar <[email protected]>
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c

index a674b599476fbebfc7d648fb05de47757d7c6c7f..97ae3b261c510aacc87a7e38bbbcbe21efe932b7 100644 (file)
@@ -122,7 +122,7 @@ const static uint32_t streamid_overrides[] = {
 
 /* array to hold the security configs for stream IDs */
 const static mc_streamid_security_cfg_t sec_cfgs[] = {
-       mc_make_sec_cfg(SCEW, NON_SECURE, OVERRIDE, ENABLE),
+       mc_make_sec_cfg(SCEW, NON_SECURE, NO_OVERRIDE, ENABLE),
        mc_make_sec_cfg(AFIR, NON_SECURE, OVERRIDE, ENABLE),
        mc_make_sec_cfg(NVDISPLAYR1, NON_SECURE, OVERRIDE, ENABLE),
        mc_make_sec_cfg(XUSB_DEVR, NON_SECURE, OVERRIDE, ENABLE),
@@ -137,7 +137,7 @@ const static mc_streamid_security_cfg_t sec_cfgs[] = {
        mc_make_sec_cfg(UFSHCW, NON_SECURE, OVERRIDE, ENABLE),
        mc_make_sec_cfg(AFIW, NON_SECURE, OVERRIDE, ENABLE),
        mc_make_sec_cfg(SDMMCR, NON_SECURE, OVERRIDE, ENABLE),
-       mc_make_sec_cfg(SCEDMAW, NON_SECURE, OVERRIDE, ENABLE),
+       mc_make_sec_cfg(SCEDMAW, NON_SECURE, NO_OVERRIDE, ENABLE),
        mc_make_sec_cfg(UFSHCR, NON_SECURE, OVERRIDE, ENABLE),
        mc_make_sec_cfg(SDMMCWAA, NON_SECURE, OVERRIDE, ENABLE),
        mc_make_sec_cfg(APEDMAW, NON_SECURE, OVERRIDE, ENABLE),
@@ -148,7 +148,7 @@ const static mc_streamid_security_cfg_t sec_cfgs[] = {
        mc_make_sec_cfg(ETRW, NON_SECURE, OVERRIDE, ENABLE),
        mc_make_sec_cfg(GPUSRD, SECURE, NO_OVERRIDE, DISABLE),
        mc_make_sec_cfg(VICSWR, NON_SECURE, NO_OVERRIDE, ENABLE),
-       mc_make_sec_cfg(SCEDMAR, NON_SECURE, OVERRIDE, ENABLE),
+       mc_make_sec_cfg(SCEDMAR, NON_SECURE, NO_OVERRIDE, ENABLE),
        mc_make_sec_cfg(HDAW, NON_SECURE, OVERRIDE, ENABLE),
        mc_make_sec_cfg(ISPWA, NON_SECURE, OVERRIDE, ENABLE),
        mc_make_sec_cfg(EQOSW, NON_SECURE, OVERRIDE, ENABLE),
@@ -173,7 +173,7 @@ const static mc_streamid_security_cfg_t sec_cfgs[] = {
        mc_make_sec_cfg(TSECSRD, NON_SECURE, NO_OVERRIDE, ENABLE),
        mc_make_sec_cfg(NVJPGSRD, NON_SECURE, NO_OVERRIDE, ENABLE),
        mc_make_sec_cfg(SDMMCWA, NON_SECURE, OVERRIDE, ENABLE),
-       mc_make_sec_cfg(SCER, NON_SECURE, OVERRIDE, ENABLE),
+       mc_make_sec_cfg(SCER, NON_SECURE, NO_OVERRIDE, ENABLE),
        mc_make_sec_cfg(XUSB_HOSTR, NON_SECURE, OVERRIDE, ENABLE),
        mc_make_sec_cfg(VICSRD, NON_SECURE, NO_OVERRIDE, ENABLE),
        mc_make_sec_cfg(AONDMAR, NON_SECURE, OVERRIDE, ENABLE),